package cn.iocoder.yudao.module.fengdong.smartelderly.controller.admin.oldman.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.hibernate.validator.constraints.Length;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.Pattern;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 老人管理分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OldmanPageReqVO extends PageParam {

    @Schema(description = "姓名", example = "赵六")
    private String name;

    @Schema(description = "身份证")
    private String identityCard;
    @Schema(description = "手机号")
    private String phoneNumber;
    @Schema(description = "年龄")
    private Integer age;

    @Schema(description = "监护人姓名")
    private String guardianName;

    @Schema(description = "监护人身份证")
    private String guardianCard;

    @Schema(description = "监护人手机号")
    private String guardianNumber;

    @Schema(description = "房间号", example = "12418")
    private Integer roomId;

    @Schema(description = "二维码", example = "https://www.xxx.cn")
    private String qrUrl;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "性别")
    private Integer sex;

    @Schema(description = "状态 ", example = "1")
    private Integer type;

}
